<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="/struts-tags" prefix="s"%>

<%
	String path = request.getContextPath();
%>

<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport"
			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="renderer" content="webkit">
		<title>后台管理</title>

		<script type="text/javascript">
			$(function(){
				$("#public").addClass("active");
				$("#public").find("ul li").eq(0).addClass("active");
				})
		</script>
	</head>

	<body>

		<div class="admin">

			<div class="panel">
				<div class="panel-head">
					参数配置
				</div>

				<div class="panel-body">

					<form action="peizhi!update.action" method="post">
						<div class="form-group">
							<label class="label">
								公众号名称:
							</label>
							<div class="field">
								<input type="text" name="peizhi.gzname"
									data-validate="required:必填" value="${peizhi.gzname}"
									class="input" placeholder="请输入公众号名称" />
								</br>
							</div>
						</div>
						<div class="form-group">
							<label class="label">
								项目域名:
							</label>
							<div class="field">
								<input type="text" name="peizhi.netName"
									data-validate="required:必填" value="${peizhi.netName}"
									class="input" placeholder="请输入域名" />
								</br>
							</div>
						</div>
						<div class="form-group">
							<label class="label">
								公众号AppID:
							</label>
							<div class="field">
								<input type="text" name="peizhi.appid"
									data-validate="required:必填" value="${peizhi.appid}"
									class="input" placeholder="请输入AppID" />
								</br>
							</div>
						</div>

						<div class="form-group">
							<label class="label">
							公众号AppSecret:
							</label>
							<div class="field">
								<input type="text" name="peizhi.appsecret"
									data-validate="required:必填" value="${peizhi.appsecret}"
									class="input" placeholder="请输入AppSecret" />
							</div>
						</div>
						<div class="form-group" style="margin-top:10px;">
							<label class="label">
								微信支付商户号:
							</label>
							<div class="field">
								<input type="text" name=peizhi.partner
									data-validate="required:必填" value="${peizhi.partner}"
									class="input" placeholder="请输入商户号" />
								</br>
							</div>
						</div>
						
						<div class="form-group">
							<label class="label">
								微信支付商户密匙:
							</label>
							<div class="field">
								<input type="text" name="peizhi.partnerkey"
									data-validate="required:必填" value="${peizhi.partnerkey}"
									class="input" placeholder="请输入商户密匙" />
								</br>
							</div>
						</div>
						<input type="hidden" name="peizhi.id" value="${peizhi.id}" />
						<button class="button bg-main">
							提交
						</button>
					</form>
				</div>
			</div>


		</div>
	</body>
</html>